package net.zjitc.arry;

public class Test {
    public static void main(String[] args) {
        int arr[][]={{0,1},{0,2}};
        SpareMat spareMat=new SpareMat();
        spareMat.createSpare(arr);
        spareMat.getCol();
        spareMat.getRow();
        spareMat.getCount();
        spareMat.getList();
        //将spreMat转化为二维数组
        int temp[][]=spareMat.decompression();
        System.out.println(spareMat);
    }
}
